var sa= document.querySelector("#sa");
var lo = document.querySelector("#lo");
var hu = document.querySelector("#hu");

window.onscroll = function(){
    if(document.documentElement.scrollTop >0 || document.body.scrollTop > 0){
        hu.style.display = "none";
        lo.style.display = "none";
        sa.style.display = "block"
    }else if( document.body.scrollTop <110){
        hu.style.display = "block";
        lo.style.display = "block";
        sa.style.display = "none"
    }
};
sa.addEventListener('click',function(){
    window.scrollTo(0,0);

});

var d_left = document.querySelector("#dd-1");
var i = document.querySelector("#i-1");
var i_2 = document.querySelector("#i-2");
var d_left1 = document.querySelector("#dd-2");
var i1 = document.querySelector("#i-3");
var i_21 = document.querySelector("#i-4");
var d_left2 = document.querySelector("#dd-3");
var i2 = document.querySelector("#i-5");
var i_22 = document.querySelector("#i-6");

var d_left3 = document.querySelector("#dd-4");
var i3= document.querySelector("#i-7");
var i_23 = document.querySelector("#i-8");
function change(){
    i.style.display = "none";
    i_2.style.display = "block";
    d_left.style.display = "block";

}
function change1(){
    i.style.display = "block";
    i_2.style.display = "none";
    d_left.style.display = "none";
}


function one(){
    i1.style.display = "none";
    i_21.style.display = "block";
    d_left1.style.display = "block";

}
function one1(){
    i1.style.display = "block";
    i_21.style.display = "none";
    d_left1.style.display = "none";
}
function two(){
    i2.style.display = "none";
    i_22.style.display = "block";
    d_left2.style.display = "block";
}
function two1(){
    i2.style.display = "block";
    i_22.style.display = "none";
    d_left2.style.display = "none";
}

function three(){
    i3.style.display = "none";
    i_23.style.display = "block";
    d_left3.style.display = "block";
}
function three1(){
    i3.style.display = "block";
    i_23.style.display = "none";
    d_left3.style.display = "none";
}


